package com.mysoft.gfyx.marketdevelop.service.dto;

import lombok.Data;

import java.util.UUID;

@Data
public class PickContactsDto implements Comparable<PickContactsDto> {
    private String province_code;

    private String date;

    private String owner;

    private String first_name;//姓氏

    private String mobile;

    private String mobile_hide;//打码的手机号

    private String title;

    private String supplier_organizing_code;

    private String company;

    private String company_category;

    private String updated_time;

    /**
     * 主键id
     */
    private String id;

    private int weight = 0;

    /**
     * 该手机号被当前用户查看过的次数
     */
    private int viewTimes = 0;

    private UUID uid;

    @Override
    public int compareTo(PickContactsDto p) {
        return p.weight - this.weight;
    }
}
